/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pagoda.engine.actions;

import pagoda.engine.BaseTestAction;
import pagoda.engine.TestActionResult;
import pagoda.util.scripting.Expression;

/**
 *
 * @author Kevin Krohe
 */
public class VarAction extends BaseTestAction {

    public Expression<Object> Value;

    @Override
    protected TestActionResult performAction() {
        getParent().getBindings().put(getName(), Value.eval());
        return null;
    }

}
